package com.snape.service;

import com.snape.entity.User;
import com.snape.utils.StatusUtils;

import java.util.Map;

/**
 * Created by liuqingcan_snape on 2017/3/10.
 */
public interface UserService {
    public Map<String,Object> doLogin(String username,String userpwd);

    public Map<String,Object> queryById (int id);

    public Map<String,Object> insertUser(User user);

    public Map<String,Object> updateUser(User user);

    public Map<String,Object> queryCookie(int userId);



    public Map<String,Object> insertLiveAddress(int userId,int roomId,String address);

    public Map<String,Object> updateCollectionStatus(int userId,int roomId);

    public Map<String,Object> queryAllStatusOfUserToVideo(int userId,int roomId);

    public Map<String,Object> updateRecordsStatus(int userId,int roomId);

    public Map<String,Object> updateWebcastingStatus(int userId,int roomId);

}
